/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author ebeltran
 */
public class MyUtil {
    public static String baseurl() { 
        return "http://localhost:8080/Aldia2/";
    }

    public static String baselogin() {
        return "/Aldia2/faces/";
    }

    public static String basepath() {
        return "/faces/pages/";
    }

    public static String baseadmon() {
        return "/faces/pages/admin/";
    }
 
    public static String basefiles() {
        return "/faces/files";
    }
    
    public static String basereport() {
        return "/faces/reports/";
    }
    
    public static String basePDF() {
        return "/faces/reports/PDF";
    }
    
    public static String baseTXT_XLS() {
        return "/faces/reports/PDF";
    }
    
    public static int idagencia() {
        return 1;
    }
    
//    public static Date fecha_hoy;
//        Date hoy = new Date();
//        Date fechahoy;
//        String fecha = new SimpleDateFormat("yyyy.mm.dd").format(hoy);
//        fechahoy = java.sql.Date.valueOf(fecha);    
//        return fechahoy;
}